<?php
    $food = array('Healthy'=>array('Salad','Veggie','Pasta'),'Unhealthy'=>array('Pizza','Ice Cream'));
    
    foreach($food as $element => $item){
        echo '<strong>'.$element.'</strong>.<br>';
        foreach($item as $inner_element){
            echo $inner_element.'<br>';
        }
    }
?>